package com.summer.service;

import com.github.pagehelper.PageInfo;
import com.summer.entity.PlateformChannel;

import java.util.Map;

public interface IPlateformChannelService {

    /**渠道列表
     * @param params
     * @return
     */
    PageInfo<PlateformChannel> query(Map<String, Object> params);

    /**
     * 更新渠道状态
     * @param plateformChannel
     */
    void updateByStatus(PlateformChannel plateformChannel);

    /**
     * 添加渠道
     * @param params
     */
    void insertChannel(Map<String, Object> params);
}
